package com.csdj.questions.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 关注问题表（我关注的问题）
 * </p>
 *
 * @author 刘宇
 * @since 2022-03-07
 */
@TableName("attention_question")
public class AttentionQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 表Id
     */
    @TableId(value = "Id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户Id
     */
    private Integer userId;

    /**
     * 问题Id
     */
    private String quesId;

    /**
     * 创建时间
     */
    private LocalDate createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getQuesId() {
        return quesId;
    }

    public void setQuesId(String quesId) {
        this.quesId = quesId;
    }
    public LocalDate getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "AttentionQuestion{" +
            "id=" + id +
            ", userId=" + userId +
            ", quesId=" + quesId +
            ", createTime=" + createTime +
        "}";
    }
}
